package com.example.patient.dto.req;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author wxy
 * @Date 2021/1/18 13:26
 * @Version 1.0
 */
@Data
@ApiModel(value = "提交就诊信息请求体")
public class VisitReq implements Serializable {
    private static final long serialVersionUID = -6285717342713759752L;

    @ApiModelProperty(value = "问诊类型  在线复诊=10,图文问诊=11,电话问诊=12,视频问诊=13")
    private Integer AType;
    @ApiModelProperty(value = "首诊医院  本院=1,非本院=2")
    private Integer First;
    @ApiModelProperty(value = "患者ID")
    private Long PID;
    @ApiModelProperty(value = "疾病描述")
    private String Chiefcomplaint;
    @ApiModelProperty(value = "过敏源")
    private String Allergy;
    @ApiModelProperty(value = "既往病史")
    private String PastDisease;
    @ApiModelProperty(value = "2020-08-07（首诊日期）")
    @JSONField(format = "yyyy-MM-dd")
    private Date FVisitDate;
    @ApiModelProperty(value = "首诊机构")
    private String FHospital;
    @ApiModelProperty(value = "就医科室")
    private String FDepartment;
    @ApiModelProperty(value = "诊断")
    private String FDiagnosis;
    @ApiModelProperty(value = "就诊图片")
    private List<String> imgs;
    @ApiModelProperty(value = "是否怀孕")
    private Boolean isPregnancy;
    @ApiModelProperty(value = "是否哺乳期")
    private Boolean isLactationPeriod;
}
